﻿using System.ComponentModel.DataAnnotations.Schema;

namespace SDCloudSolution.SDCloud.Entities.Identity
{
    /// <summary>
    ///     Represents a user setting entity.
    /// </summary>
    [Table("user_settings")]
    public class UserSettingEntity
    {
        /// <summary>
        ///     The user identifier.
        ///     Link to UserId in Users table.
        /// </summary>
        [Column("UserId")]
        public int UserId { get; set; }

        /// <summary>
        ///     The setting identifier.
        /// </summary>
        [Column("SettingKey")]
        public string SettingKey { get; set; }

        /// <summary>
        ///     The setting value.
        /// </summary>
        [Column("SettingValue")]
        public string SettingValue { get; set; }
    }
}
